tools/libxl: document libxl memory management policy
authorGianni Tedesco <gianni.tedesco@citrix.com>
Fri, 13 Aug 2010 15:56:42 +0000 (16:56 +0100)
committerGianni Tedesco <gianni.tedesco@citrix.com>
Fri, 13 Aug 2010 15:56:42 +0000 (16:56 +0100)
commit036b528f559911f1d820168ad90b2dd8cbd7f787
tree576c9a49eeb9d8d2f322ace01ac62e604868651b
parent44404bde3971c4f1d575ed3cd7702d2a74cb33b7
tools/libxl: document libxl memory management policy

After animated discussion with several libxl developers we seem to have
agreed on a policy for memory management within libxenlight. These
comments document the policy which is mostly implemented since
21977:51147d5b17c3 but some aspects (comments, function naming) are
guidelines to be followed in future functionality and perhaps to be
implemented by search/replace in future patches.

The document is mostly authored by Ian Jackson but with modifications to
reflect the slightly different functionality that has been implemented
since this was proposed.

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.h